Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: HUD text with shader background

  1. #11
    Developer Sor's Avatar
    Join Date
    Aug 2010
    Location
    The Medieval City of Bruges
    Posts
    747

    Default

    Quote Originally Posted by Ancient Order View Post
    For the above "comparison" to be understood, z order refers to the z axis in the (x, y, z) coordinate system and stands for the depth dimension.
    No, the z-index is related to but not the same as the height/depth dimension. I'm sure they've used the 'z' in its name to invoke this link in people's minds but it's not entirely correct.

    There are only two dimensions because we're talking about 2D graphics here. The z-index defines the order in which these graphics are drawn. The greater the index, the later the element will be drawn and may thus be drawn over previously drawn elements. So elements can be 'stacked' upon one another giving the impression of depth. Hence why it's commonly referred to as the 'stack order'. The main difference is that the z-index uses arbitrary priorities (including negative numbers) while huddraw indices also function as the identifiers for each element.

    In 3D graphics, we can place each element in a three-dimensional world so height/depth of each element is defined but when it comes to drawing, it is a matter of perspective (i.e. where are we standing and where are we looking at). This perspective is the field of view, represented by the viewing frustrum. It is typically shaped as a rectangular pyramid with its top and bottom cut off by two parallel planes (i.e. a frustrum of this pyramid).

    Quote Originally Posted by RyBack View Post
    Depth ? Guess it's called farplane and nearplane etc.
    These terms refer to completely different things. The planes that cut the view direction perpendicularly are called the near plane and far plane. Objects closer to the camera than the near plane or objects beyond the far plane are not drawn.
    Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.

  2. #12
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,566

    Default

    Dang it sor nails it every time,
    Thanks for the awesome explanation

  3. #13
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    161

    Default

    Anytime some nonsense can be enonced, you're there for the job.Do you really understand what you tell us? What the hell have css and 2d gaming to do there

  4. #14
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,566

    Default

    Quote Originally Posted by Ancient Order View Post
    Anytime some nonsense can be enonced, you're there for the job.Do you really understand what you tell us? What the hell have css and 2d gaming to do there
    lol i said the same read up lol,

  5. #15
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    161

    Default

    This guy is a danger for the community, making people think any simple thing is complex based on erroneous argumentation.

  6. #16
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,259

    Default

    This guy is the one you go to if you actually want to LEARN how to do something and not just be given the code to do it. He not only shows you how to do something, he tells you why, which is the only way people will actually learn.

    If you actually read and understand what he is saying, you can see how they are related to the questions being asked,
    Ryback asks why the indices have to be in a certain order - Sor made the comparison to CSS to try and help people understand.
    AncientOrder made a statement about the z axis, which is when Sor went on to explain about it in relation to mohaa.

    So basically if you dont want to learn anything and just want pre-built code for your mods to work, then go to google.com , if you would rather learn how to do it yourself, then you can come here and ask for help on the forum. We are all here to HELP you, not DO IT FOR YOU.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  7. #17
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,566

    Default

    Quote Originally Posted by Purple Elephant1au View Post
    This guy is the one you go to if you actually want to LEARN how to do something and not just be given the code to do it. He not only shows you how to do something, he tells you why, which is the only way people will actually learn.

    If you actually read and understand what he is saying, you can see how they are related to the questions being asked,
    Ryback asks why the indices have to be in a certain order - Sor made the comparison to CSS to try and help people understand.
    AncientOrder made a statement about the z axis, which is when Sor went on to explain about it in relation to mohaa.

    So basically if you dont want to learn anything and just want pre-built code for your mods to work, then go to google.com , if you would rather learn how to do it yourself, then you can come here and ask for help on the forum. We are all here to HELP you, not DO IT FOR YOU.
    Easy purple I'm sure ancient didn't mean to attack sor, ancient is a good guy, sor is the best in scripts and you are the purpliest player in mohaa


    PS: I know it should be the most purple, for the sake of the joke.

  8. #18
    Senior Member nene81's Avatar
    Join Date
    Nov 2014
    Location
    Seville, SPAIN
    Posts
    180

    Default

    This thread is closed.
    Asked & answered.

    And Sor is the last moh-wise, Sor-pedia.

    Please , don't bother him...

  9. #19
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,071

    Default

    Awesome explanation Sor! You might just be the next scorpio midget or jv_map. :P

  10. #20

    Default

    I know I've always learned something when Sor answers a question for me, I may not remember it the next week but I can always go back to post to re-read it. I have 5 posts book marked so I don't have to search every time I forget...lol

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •